package com.donleo.mybatis.service;

import com.donleo.mybatis.common.CommonResult;
import com.donleo.mybatis.model.Role;

/**
 * @author liangd
 * date 2020-12-04 17:41
 * code
 */
public interface IRoleService {
    CommonResult add(Role role);

    Integer delete(Integer id);

    Integer update(Role role);

    Role findById(Integer id);

    CommonResult findAllRole();
}
